import { createApp } from 'vue';
import './style.css';
import App from './App.vue';
import router from './router';
import getRoutes from "./grants/router";
// // echarts
// import * as echarts from 'echarts'
// const app = createApp(App);
// app.config.globalProperties.$echarts = echarts

const app = createApp(App);

if(sessionStorage.getItem("grants")){
    getRoutes();
}
app.use(router);
app.mount('#app')
